package com.czmh.etc.onlinepubsys.model;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;


/**
 * ETC设备信息表
 * 
 * @author Auto
 * @email Auto
 * @date 2020-09-25 14:26:06
 */
@Data
public class EtcDevice implements Serializable {
	private static final long serialVersionUID = 1L;
	

	@ApiModelProperty("ID")
	private String id;

	@ApiModelProperty("OBU设备号")
	private String obuDeviceSn;

	@ApiModelProperty("ETC卡号")
	private String etcSn;

	@ApiModelProperty("供应商")
	private String supplierName;

	@ApiModelProperty("ETC发行方")
	private String issuerName;

	@ApiModelProperty("OBU型号")
	private String obuModel;

	@ApiModelProperty("OBU设备激活状态 0.未激活 1.已激活")
	private Integer activeStatus;

	@ApiModelProperty("OBU设备激活时间")
	private Date activeTime;

	@ApiModelProperty("OBU设备结算状态 0.未结算 1.已结算")
	private Integer settlementStatus;

	@ApiModelProperty("结算时间")
	private Date settlementTime;

	@ApiModelProperty("产品编号")
	private String productSn;

	@ApiModelProperty("产品型号")
	private String productModel;

	@ApiModelProperty("进库价")
	private BigDecimal stockMoney;

	@ApiModelProperty("最新销售价")
	private BigDecimal saleMoney;

	@ApiModelProperty("最后持有设备用户id，参考t_custom.id")
	private String lastOwnerId;

	@ApiModelProperty("备注")
	private String remark;

	@ApiModelProperty("0.未删除 1.删除")
	private Integer deleteFlag;

	@ApiModelProperty("录入员ID,关联t_sys_user.id")
	private String createUserId;

	@ApiModelProperty("创建时间")
	private Date createTime;

	@ApiModelProperty("更新人ID,关联t_sys_user.id")
	private String updatedUserId;

	@ApiModelProperty("更新时间")
	private Date updatedTime;

	@ApiModelProperty("是否发放红包奖励，0默认不允许，1允许")
	private Integer isReward;

	@ApiModelProperty("是否允许搜索设备激活状态，0默认不允许，1允许")
	private Integer isSearch;

	@ApiModelProperty("激活奖励最小金额, 单位:分")
	private Integer minAmount;

	@ApiModelProperty("激活奖励最大金额, 单位:分")
	private Integer maxAmount;

	@ApiModelProperty("确认奖励最小金额, 单位:分")
	private Integer stockMinAmount;

	@ApiModelProperty("确认奖励最大金额, 单位:分")
	private Integer stockMaxAmount;
}
